﻿@model PaymentInfoModelBase

@if (Model == null)
{
    // Can actually never happen
    return;
}

@if (Model.ThumbnailUrl.HasValue())
{
    <div class="media">
        <img class="media-object img-fluid pr-2" src="@Model.ThumbnailUrl" />
        <div class="media-body">
            @Html.Raw(Model.DescriptionText)
        </div>
    </div>
}
else
{
    <div class="text-muted">
        @Html.Raw(Model.DescriptionText)
    </div>
}
